<template>
  <section class="offside-wrapper">
    <div class="title">{{title}}</div>
    <div class="content">
      <slot></slot>
    </div>
  </section>
</template>

<script>
  /**
   * 此组件为详情页面右侧区域组件
   * 集成基本title样式和content
   */
  export default {
    data () {
      return {}
    },
    props: {
      title: {
        type: String,
        default: ''
      }
    },
    methods: {},
    mounted () {
    }
  }
</script>

<style lang="scss">
.offside-wrapper{
  background: white;
  margin-bottom: 20px;
  .title{
    padding: 0px 20px;
    border-bottom: 1px solid #f3f3f4;
    height: 55px;
    line-height: 55px;
    font-size: 15px;
    color: #333;
  }
  .content{
    padding: 20px;
  }
}
</style>
